package com.ticket.sass.common.ticketserver.platform.cx30.response

import com.google.gson.annotations.SerializedName

data class SeatLock(
    @SerializedName("LockSeatResult")
    val lockSeatResult: LockSeatResult
) {
    data class LockSeatResult(
        @SerializedName("ResultCode")
        override val resultCode: Int,
        @SerializedName("Message")
        override val message: String,
        @SerializedName("OrderCode")
        val orderCode: String,
        @SerializedName("LockLength")
        val lockLength: String,
        @SerializedName("AutoUnlockDatetime")
        val autoUnlockDatetime: String,
        @SerializedName("SeatInfos")
        val seatInfos: SeatInfo?
    ) : BaseResult {
        data class SeatInfo(
            /**
             * 座位编码，如果多个就是数组类型，如果只有一个就是字符串
             */
            @SerializedName("SeatCode")
            val seatCode: Any
        )
    }
}
